KeyModifiers

fun KeyModifiers(altDown: Boolean = false, metaDown: Boolean = false, shiftDown: Boolean = false, controlDown: Boolean = false, altGraphDown: Boolean = false): KeyModifiers
fun KeyModifiers(altDown: Boolean = false, metaDown: Boolean = false, shiftDown: Boolean = false, controlDown: Boolean = false, altGraphDown: Boolean = false): KeyModifiers

Creates a new instance of KeyModifiers with the given parameters.

Since

8.0.0

Parameters

altDown

Specifies whether the Alt key is pressed.

metaDown

Specifies whether the Meta key is pressed.

shiftDown

Specifies whether the Shift key is pressed.

controlDown

Specifies whether the Control key is pressed.

altGraphDown

Specifies whether the AltGraph key is pressed.